package com.xiaoxu.intranetweb.mybatisplusSzappdb.Dic;

import org.springframework.stereotype.Component;

@Component
public class PdtClassDic {
    //    区域类型
    public String pdtClassFromCtrlDic(Integer pdtClassFromCtrl){
        String dic = "";
        if (pdtClassFromCtrl == null ){
            return dic;
        }
        switch (pdtClassFromCtrl){
            case 0:
                dic = "未控制";
                break;
            case -1:
                dic = "已控制";
                break;
        }
        return dic;
    }



}
